Optimal. Leaf size=13 \[ -\frac {\cot (a+b x)}{4 b} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 13, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {4372, 3852, 8}
\begin {gather*} -\frac {\cot (a+b x)}{4 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 3852
Rule 4372
Rubi steps
\begin {align*} \int \cos ^2(a+b x) \csc ^2(2 a+2 b x) \, dx &=\frac {1}{4} \int \csc ^2(a+b x) \, dx\\ &=-\frac {\text {Subst}(\int 1 \, dx,x,\cot (a+b x))}{4 b}\\ &=-\frac {\cot (a+b x)}{4 b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 13, normalized size = 1.00 \begin {gather*} -\frac {\cot (a+b x)}{4 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.15, size = 12, normalized size = 0.92
method | result | size |
default | \(-\frac {\cot \left (x b +a \right )}{4 b}\) | \(12\) |
risch | \(-\frac {i}{2 b \left ({\mathrm e}^{2 i \left (x b +a \right )}-1\right )}\) | \(20\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 53 vs.
\(2 (11) = 22\).
time = 0.27, size = 53, normalized size = 4.08 \begin {gather*} -\frac {\sin \left (2 \, b x + 2 \, a\right )}{2 \, {\left (b \cos \left (2 \, b x + 2 \, a\right )^{2} + b \sin \left (2 \, b x + 2 \, a\right )^{2} - 2 \, b \cos \left (2 \, b x + 2 \, a\right ) + b\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.44, size = 19, normalized size = 1.46 \begin {gather*} -\frac {\cos \left (b x + a\right )}{4 \, b \sin \left (b x + a\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.46, size = 13, normalized size = 1.00 \begin {gather*} -\frac {1}{4 \, b \tan \left (b x + a\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.14, size = 11, normalized size = 0.85 \begin {gather*} -\frac {\mathrm {cot}\left (a+b\,x\right )}{4\,b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________